package com.qf.controller;

import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.controller
 * @Description:
 * @Date 2022/7/12 12:24
 */
@RequestMapping("/b")
@RestController
public class BController {

    @Autowired
    private UserService userService;


    /**
     * b账户加500元
     */
    @RequestMapping("/add")
    public void test(){
        userService.bAdd();

    }
}
